﻿/**
*	Dot
*	@author 	Liam O'Donnell 2008-03-27
**/

package com.spikything.pants3d.objects {
	
	import com.spikything.pants3d.Pants3D;
	import com.spikything.pants3d.objects.Sprite3D;
	import flash.display.Sprite;
	
	public class Dot extends Sprite3D {

		public function Dot (x:Number=0, y:Number=0, z:Number=0, child:Sprite=null, colour:Number=0x00ff00) {
			super(x, y, z, child);
			spriteType = Pants3D.FLOOR;
			graphics.beginFill(colour, .4);
			graphics.drawCircle(0, 0, 7);
			graphics.endFill();
		}

	}
	
}